package com.city.controller.common;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @deprecation 公共组件
 * @email leichuqiao@126.com
 * @author 雷楚桥
 * @date 2018-07-06 20:52
 */
@Controller
@RequestMapping("/common")
public class CommonController {

    /**
     * @deprecation 顶部导航[topbar]
     * @author 雷楚桥
     * @date 2018-07-06 20:53
     */
    @PostMapping("/topbar")
    public String topbar(Map<String,Object> map){
        map.put("xx","oo");
        return "/common/topbar";
    }
}
